<?php

use yii\helpers\Html;
use kartik\grid\GridView;
use  backend\models\Goods;
use kartik\datetime\DateTimePicker;
use  yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\search\GoodsSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = Yii::t('app', 'Goods');
$this->params['breadcrumbs'][] = $this->title;
?>
<style>
    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
        vertical-align: middle;
    }
    .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th{
        color: rgb(214,236,204);
    }
    .table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
        border: 1px solid rgb(214,236,204);
    }
    .btn{
        border-radius:0px;!important;;
    }
    .btn-sm, .btn-group-sm > .btn{
        border-radius:0px;!important;;
    }
    .content {
        margin-right: 50px;
        margin-left: 50px;
    !important;
    }
</style>
<div class="goods-index">
    <?php $form = ActiveForm::begin([
        'action' =>['/wxuser/index'],
        'method' => 'post'
    ]);?>
<?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'goods_id',
            'goods_name',
            'shop_price',
            'marker_price',
            'goods_image',
            // 'gall_images_id',
            // 'desc_images_id',
            // 'is_new',
            // 'is_hot',
            // 'is_good',
            // 'is_promote',
            // 'is_delete',
            // 'cate_id',

            ['class' => 'yii\grid\ActionColumn'],
        ],
    ]); ?>
<?php ActiveForm::end(); ?></div>
